<%--
  Created by IntelliJ IDEA.
  User: Brilliant
  Date: 2022/12/1
  Time: 23:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="cqu.mvc.model.domain.FileEntity" %>
<%@ page import="java.util.List" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="/static/css/index.css">

  <title>upload</title>

  <style type="text/css">
    img {
      position:absolute;
      left:30px;
      top:15px;
    }
  </style>

  <style>
    * {
      padding: 0;
      margin: 0;
    }


    ul {
      list-style: none;
    }

    .nav {
      margin-top: 0px;
      width: 100%;
      height: 70px;
      line-height: 70px;
      background: rgb(42, 45, 105);
    }


    .nav li {
      float: right;
      position: relative;

    }


    .nav li a {
      display: block;
      width: 150px;
      text-align: center;
      color: #fff;
      text-decoration: none;
    }



    .box{
      width: 800px;
      color:rgb(67, 44, 16);
      background-color: rgba(255, 248, 240, 0.6);
      border-radius: 50px 50px 50px 50px;
      text-align:center;
      padding: 60px;

    }

    .mybox{
      width: 500px;
      color:rgb(67, 44, 16);
      background-color: rgba(255, 248, 240, 0.6);
      border-radius: 50px 50px 50px 50px;
      align-self: center;
      text-align:center;
      justify-content: center;
      display:inline-block;
      font-size: 30px;
      padding: 30px;
    }


    .box ul{

      align-self: center;
      text-align:center;
      justify-content: center;
    }



    button{

      border: 3px #fff solid;
      color: #fff;
      /* display: block; */
      font-size: 20px;
      font-weight: normal;
      max-width: 120px;
      padding: 6px 0;
      text-align: center;
      text-transform: uppercase;
      text-decoration: none;
      width: 100%;
      border-radius: 20px;
      background: #7dabd4;

    }

    .file{
      font-size:16px;
      color:rgb(42, 95, 105);
    }



    * {
      box-sizing: border-box;
      /* margin: 0; */
    }

    body {
      top:0;
      height: 100vh;
      color: white;
      background: url("https://pic4.zhimg.com/v2-9ed71e34ccbad60ba2bbdff06da6513f_r.jpg?source=1940ef5c");
      display: flex;
      /* justify-content: center; */
      align-items: center;
      flex-direction: column;
      background-repeat:no-repeat ;
      background-size:100% 100%;
      background-attachment: fixed;
    }

  </style>
</head>
<body>

<div class="nav">
  <div >
    <ul>
      <li>
        <a href="../index.jsp">首页</a>
      </li>
    </ul>
  </div>
</div>
<br><br><br>
<div class="mybox">
  <div class="boxa">
    请选择需要上传的文件
  </div>


</div>
<br><br><br>
<div class="box">

  <div>
    <form action="http://localhost:8080/upload/submit" enctype="multipart/form-data" method="post">

      <input type="file" name="file" class="file" value="select">
      <button><label for="submit" >
        提交文件</label></button>
      <input id="submit" type="submit" value="submit" style="display:none">
    </form>
  </div>
</div>

</body>
</html>

